package com.csi.service;

import com.csi.domain.Comment;

import java.sql.SQLException;
import java.util.List;

public interface CommentService {

    int add(Comment comment);

    int delete(int commentId);

    int update(Comment comment);

    List<Comment> list(int indexPage, int title);

}
